package create.builder;

/**
 * @author lzp
 * @Date:2023/2/24
 * @description: 指挥者
 */
public class Director {

	/**
	 * 利用指挥者创建对应的角色，统一了创建的顺序【如头部应先于脸部创建】
	 *
	 * @param builder
	 */
	public void construct(Builder builder) {
		builder.buildHead();
		builder.buildFace();
		builder.buildBody();
		builder.buildHp();
		builder.buildSp();
		builder.buildMp();
	}

}
